package model;

import java.util.List;

import org.mybeans.dao.DAOException;

import beans.Bookmark;

/*
 *  Course: S09-15437 - WEB APPLICATION DEVELOPMENT 
 * 	Name: Jiale Huang
 * 	Andrew ID: jialeh
 * 	Date: 2/23/2009
 *  Assignment: Hw4
 */


public interface BookmarkDAO {
	
	public Bookmark create(Bookmark bookmark) throws DAOException;
	public Bookmark lookup(int id) throws DAOException;
	public List<Bookmark> getUserBookmarks(String userEmail) throws DAOException;
	public boolean updateClickCount(Bookmark bookmark) throws DAOException;
	public boolean delBookmark(int id) throws DAOException;
}
